﻿@model IEnumerable<MVC3.Models.Genre>

@{
    ViewBag.Title = "Index";
}

<h3>Browse Genres</h3> 
<p> 
    Select from @Model.Count() genres:</p> 
<ul> 
    @foreach (var genre in Model) 
    { 
        <li>
            @*<a href="/Store/Browse?genre=@genre.Name">@genre.Name</a>*@

            @Html.ActionLink(genre.Name, "Browse", new { genre = genre.Name })
        </li> 
    } 
</ul>
